import { getGoodsList, deleteGoods, addGoods, updateGoods, goodsDetail, getGoodsByInfo } from "@/api/Goods";

export const getGoodsListAPI = getGoodsList;

export const deleteGoodsAPI = deleteGoods;

export const addGoodsAPI = addGoods;

export const updateGoodsAPI = updateGoods;

export const goodsDetailAPI = goodsDetail;

export const getGoodsByInfoAPI = getGoodsByInfo;

//------------------------------------------------------------------------------------------

import { login, register, allUser, deleteUser, updateUser, collect, getCollectList, cancelCollect, addOrder, getSelfOrderList } from "@/api/User";

export const loginAPI = login;

export const registAPI = register;

export const allUserrAPI = allUser;

export const deleteUserAPI = deleteUser;

export const updateUserAPI = updateUser;

export const collectAPI = collect;

export const getCollectListAPI = getCollectList;

export const cancelCollectAPI = cancelCollect;

export const addOrderAPI = addOrder;

export const getSelfOrderListAPI = getSelfOrderList;